import request from '@/utils/request'

// 查询字段校验规则列表
export function listTableDetailStandardCheck(query) {
  return request({
    url: '/reportworld/tableDetailStandardCheck/list',
    method: 'get',
    params: query
  })
}

// 查询字段校验规则详细
export function getTableDetailStandardCheck(id) {
  return request({
    url: '/reportworld/tableDetailStandardCheck/' + id,
    method: 'get'
  })
}

// 新增字段校验规则
export function addTableDetailStandardCheck(data) {
  return request({
    url: '/reportworld/tableDetailStandardCheck',
    method: 'post',
    data: data
  })
}

// 修改字段校验规则
export function updateTableDetailStandardCheck(data) {
  return request({
    url: '/reportworld/tableDetailStandardCheck',
    method: 'put',
    data: data
  })
}

// 删除字段校验规则
export function delTableDetailStandardCheck(id) {
  return request({
    url: '/reportworld/tableDetailStandardCheck/' + id,
    method: 'delete'
  })
}
